package com.han.gift.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * 登录记录(UserLoginLog)表实体类
 *
 * @author makejava
 * @since 2023-02-25 00:33:57
 */
@SuppressWarnings("serial")
@TableName("t_user_login_log")
public class UserLoginLog extends Model<UserLoginLog> {


    @TableField("id")
    private Long id;


    @TableField("create_time")
    private Long createTime;


    @TableField("user_id")
    private Long userId;

    //IP
    @TableField("ip")
    private String ip;

    //客户端
    @TableField("client_info")
    private String clientInfo;

    //登录方式
    @TableField("login_type")
    private Integer loginType;

    //登录是否成功
    @TableField("success")
    private Integer success;

    //结果说明
    @TableField("remark")
    private String remark;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getClientInfo() {
        return clientInfo;
    }

    public void setClientInfo(String clientInfo) {
        this.clientInfo = clientInfo;
    }

    public Integer getLoginType() {
        return loginType;
    }

    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }

    public Integer getSuccess() {
        return success;
    }

    public void setSuccess(Integer success) {
        this.success = success;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */

    }

